package com.spring.zhz.javaconfig;


import com.spring.zhz.javaconfig.model.ConfigUser;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class ConfigBeans2 {

    @Bean
    public ConfigUser configUser2(){
        return new ConfigUser("config-user-张2");
    }
}
